﻿
@section head{
    <link rel="stylesheet" href="~/plugins/dtree/dtree.css">
    <link rel="stylesheet" href="~/plugins/dtree/font/dtreefont.css">
    <link rel="stylesheet" href="~/css/access/index.css" asp-append-version="true">
}
<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
    <legend>角色授权</legend>
</fieldset>
<div class="tree" id="toolbarDiv">
    <ul id="dataTree" class="dtree" data-id="0"></ul>
</div>
<div style="margin:10px 0 0 120px;">
    <form onsubmit="return false;">
        <input type="hidden" name="nodeIds" id="nodeIds" />
        <input type="hidden" name="roleid" id="roleid" value="@ViewBag.RoleId" />
        <button class="layui-btn  layui-btn-disabled" id="save" onclick="saveNode('/Access/AddEdit','/Access/Index/'+@ViewBag.RoleId)">保存</button>
        <a href="/SysRole/Index" class="layui-btn layui-btn-primary">返回</a>
    </form>
</div>

@section foot{
    <script src="~/js/access/index.js" asp-append-version="true"></script>
}

